﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace Project.Core.Model.System
{
    /// <summary>
    /// 用户的菜单权限
    /// </summary>
    public class UserPermission : BaseModel
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleID { get; set; }

        /// <summary>
        /// 用户设置的菜单列表
        /// </summary>
        public int MenuId { get; set; }

        /// <summary>
        /// 操作
        /// </summary>
        public string Operation { get; set; }
    }
}
